#pragma once

#include "IState.h"
#include "Helper.h"

//forward declaration
class IState;

class IAutomat
{
public:
    virtual void readChar(char c)=0;
    virtual void setCurrentState(IState* state)=0;
    virtual void mkToken(TType type, long long value)=0;
    virtual void ungetChar(int times = 0)=0;
    virtual void stop()=0;
    virtual void error()=0;
};